<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
	<!--[if lt IE 9]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <title>IPwsObjectSerialisable_V1&lt;T&gt; - Pws.Clients.RestLibrary Documentation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <link type="text/css" rel="stylesheet" href="../main.css"/>
    <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../js/jquery.scrollTo-min.js"></script>
    <script type="text/javascript" src="../js/navigation.js"></script>
    <script type="text/javascript" src="../js/example.js"></script>
  </head>
  <body>
  	<header><h1>Pws.Clients.RestLibrary : API Documentation</h1>
	</header>
<nav id="namespaces">
	<h2 class="fixed">Namespaces</h2>
	<div class="scroll">
		<ul>
			<li>
          <a href="../Pws.Clients.RestLibrary/index.htm" class="current">Pws.Clients.RestLibrary</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Aftersales/index.htm">Pws.Clients.RestLibrary.Aftersales</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers/index.htm">Pws.Clients.RestLibrary.Customers</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers.Contacts/index.htm">Pws.Clients.RestLibrary.Customers.Contacts</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers.Orders/index.htm">Pws.Clients.RestLibrary.Customers.Orders</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers.Products/index.htm">Pws.Clients.RestLibrary.Customers.Products</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.ECommerce.Permissions/index.htm">Pws.Clients.RestLibrary.ECommerce.Permissions</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.ECommerce.Users/index.htm">Pws.Clients.RestLibrary.ECommerce.Users</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Framework/index.htm">Pws.Clients.RestLibrary.Framework</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Products/index.htm">Pws.Clients.RestLibrary.Products</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Products.Navigation/index.htm">Pws.Clients.RestLibrary.Products.Navigation</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Shared/index.htm">Pws.Clients.RestLibrary.Shared</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Suppliers/index.htm">Pws.Clients.RestLibrary.Suppliers</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.WorksurfaceEstimator/index.htm">Pws.Clients.RestLibrary.WorksurfaceEstimator</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.WorksurfaceJobs/index.htm">Pws.Clients.RestLibrary.WorksurfaceJobs</a>
      </li>
		</ul>
	</div>
</nav><nav id="types">
  <h2 class="fixed">Types in Pws.Clients.RestLibrary</h2>
	<div class="scroll">
		<ul>
				<li>
            <a href="../Pws.Clients.RestLibrary/Fault_V1.htm">Fault_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary/IPwsObject_V1.htm">IPwsObject_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary/IPwsObjectSerialisable_V1`1.htm" class="current">IPwsObjectSerialisable_V1&lt;T&gt;</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary/Link_V1.htm">Link_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary/MediaTypes.htm">MediaTypes</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary/PwsObjectTypeAttribute.htm">PwsObjectTypeAttribute</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary/Services_V1.htm">Services_V1</a>
        </li>
		</ul>
	</div>
</nav>
	<article>
    <header>
		<p class="class"><strong>Type</strong> IPwsObjectSerialisable_V1&lt;T&gt;</p>
	</header>
	<section>
		<header>
		<p><strong>Namespace</strong> Pws.Clients.RestLibrary</p>
		<p><strong>Interfaces</strong> <a href="../Pws.Clients.RestLibrary/IPwsObject_V1.htm">IPwsObject_V1</a></p>
		</header>
    <div class="sub-header">
			<div id="summary">A base interface which most PWS Object representations in.Net will implement.
For example, this gives generic access to the list of Links contained in the Object.
This inherited version of the interface is for objects which can be serialised and de-serialised by the client,
e.g. for storage in local string based containers such as website state; however the serialisation method may change
between implementations so should only be used for the user's session lifetime.
Use the Pws.Clients.RestLibrary.Service library for serialisation. 
			</div>
		
		
			<h3 class="section">Methods</h3>
			<ul>
				<li><a href="../Pws.Clients.RestLibrary/IPwsObjectSerialisable_V1`1.htm#AsSerialised">AsSerialised</a></li>
				<li><a href="../Pws.Clients.RestLibrary/IPwsObjectSerialisable_V1`1.htm#FromSerialised">FromSerialised</a></li>
			</ul>
		
		
	</div>
	
	<h3 class="section">Public instance methods</h3>

	<div id="AsSerialised" class="method">
		<h4>
			<span title="System.string">string</span> <strong>AsSerialised</strong>()
		</h4>
		<div class="content">Serialisation data representing the object's whole state.
e.g. for storage in local string based containers such as website state; however the serialisation method may change
between implementations so should only be used for the user's session lifetime. 



			<div class="return">

				<h5>Returns</h5>
				<dl>
					<dt>
						<code><span title="System.string">string</span></code>
					</dt>
					<dd>String containing serialisation data. 
					</dd>
				</dl>
			</div>

		</div>
	</div>
	<div id="FromSerialised" class="method">
		<h4>
			<span title="Pws.Clients.RestLibrary.T">T</span> <strong>FromSerialised</strong>(<span title="System.string">string</span> serialised)
		</h4>
		<div class="content">Create this object from its serialisation data. This can be called on an empty object of type T. 


			<div class="parameters">
				<h5>Parameters</h5>
				<dl>
						<dt>
							<code><span title="System.string">string</span></code> serialised
						</dt>
						<dd>Serialised data 
						</dd>
				</dl>
			</div>

			<div class="return">

				<h5>Returns</h5>
				<dl>
					<dt>
						<code><span title="Pws.Clients.RestLibrary.T">T</span></code>
					</dt>
					<dd>PWS Object of type T 
					</dd>
				</dl>
			</div>

		</div>
	</div>
	
	
	</section>
	</article><footer>
	<span id="version">Built from v1.0.0.0 of Pws.Clients.RestLibrary</span>
	<span id="docu-link">
		Generated by <a href="http://docu.jagregory.com">docu</a>
	</span>
</footer>
  </body>
</html>